; Music of Super Space Invaders (1991) (Domark)
; Ripped by Megachur the 09/02/2007

	write "SUPERSPI.BIN"

music_date_rip	equ &0927
music_adr	equ &2f89
first_theme	equ 0
last_theme	equ 0

	read "music_header_v1_0.asm"

	jp l3020        ; play music
	jp l2fad        ; init music
	jp l2fa7        ; sound fx ?
;
.stop_music
;
	xor a
	ld (l2ffa),a
	ld d,#08
	call l38e1
	inc d
	call l38e1
	inc d
	call l38e1
	ret
.l2fa7
	ld (l2ffd),a
	jp l3020
;
.init_music
.l2fad
;
	ld hl,l3953             ; added by Megachur
	ld a,(hl)
	ld (l2ff9),a
	inc hl
	ld a,(hl)
	ld (l2ff8),a
	inc hl
	ld (l3015),hl
	ld (l2ffb),hl
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3005),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3007),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3009),de
	xor a
	ld (l301d),a
	ld (l301e),a
	ld (l301f),a
	ld (l3013),a
	ld (l2fff),a
	ld (l3000),a
	ld (l3001),a
	inc a
	ld (l2ffa),a
	ld a,(l3014)
	ld (l3004),a
	jp l3020
.l2fff equ $ + 7
.l2ffd equ $ + 5
.l2ffb equ $ + 3
.music_end
.l2ffa equ $ + 2
.l2ff9 equ $ + 1
.l2ff8
	db #09,#03,#00,#00,#00,#00,#00,#01
.l3007 equ $ + 7
.l3005 equ $ + 5
.l3004 equ $ + 4
.l3002 equ $ + 2
.l3001 equ $ + 1
.l3000
	db #00,#00,#00,#00,#00,#00,#00,#00
.l300f equ $ + 7
.l300e equ $ + 6
.l300d equ $ + 5
.l300b equ $ + 3
.l3009 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00,#13
.l3017 equ $ + 7
.l3015 equ $ + 5
.l3014 equ $ + 4
.l3013 equ $ + 3
.l3011 equ $ + 1
	db #39,#da,#32,#00,#40,#00,#00,#00
.l301e equ $ + 6
.l301d equ $ + 5
.l301b equ $ + 3
.l301a equ $ + 2
.l3019 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00
.l301f
	db #00
;
.play_music
;
.l3020
	ld a,(l2ffa)
	or a
	ret z
	ld a,(l2ffd)
	or a
	jr z,l304c
	ex af,af'
	ld a,(l3002)
	or a
	jr z,l3038
	dec a
	ld (l3002),a
	jr l304c
.l3038
	ex af,af'
	ld (l3002),a
	ld a,(l2ff8)
	dec a
	ld (l2ff8),a
	cp #ff
	jr nz,l304c
	xor a
	ld (l2ffa),a
	ret
.l304c
	ld a,(l3013)
	or a
	jr z,l3059
	dec a
	ld (l3013),a
	jp l31ab
.l3059
	ld a,(l2ff9)
	ld (l3013),a
	ld a,(l3004)
	dec a
	ld (l3004),a
	or a
	jr nz,l30ae
	ld a,(l3014)
	ld (l3004),a
	ld hl,(l2ffb)
	ld de,#0006
	add hl,de
.l3076
	ld (l2ffb),hl
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld a,d
	or a
	jr nz,l309a
	ld a,e
	cp #ff
	jr nz,l308b
	xor a
	ld (l2ffa),a
	ret
.l308b
	ld l,a
	ld h,#00
	add hl,hl
	push hl
	add hl,hl
	pop de
	add hl,de
	ld de,(l3015)
	add hl,de
	jr l3076
.l309a
	ld (l3005),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3007),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3009),de
.l30ae
	ld a,(l301d)
	or a
	jr z,l30ba
	dec a
	ld (l301d),a
	jr l30ca
.l30ba
	ld hl,(l3005)
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3005),hl
	ex de,hl
	ld a,#00
	call l3106
.l30ca
	ld a,(l301e)
	or a
	jr z,l30d6
	dec a
	ld (l301e),a
	jr l30e6
.l30d6
	ld hl,(l3007)
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3007),hl
	ex de,hl
	ld a,#01
	call l3106
.l30e6
	ld a,(l301f)
	or a
	jr z,l30f2
	dec a
	ld (l301f),a
	jr l3102
.l30f2
	ld hl,(l3009)
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3009),hl
	ex de,hl
	ld a,#02
	call l3106
.l3102
	call l31ab
	ret
.l3106
	ld (l3017),a
	ld (l3019),hl
	ld a,l
	and #7f
	ld (l301b),a
	cp #54
	jr z,l311f
	ld l,a
	ld h,#00
	add hl,hl
	add hl,hl
	add hl,hl
	add hl,hl
	add hl,hl
	ex de,hl
.l311f
	ld a,(l301a)
	ld c,a
	and #38
	srl a
	srl a
	srl a
	and #07
	ld l,a
	ld h,#00
	ld bc,l31a3
	add hl,bc
	ld a,(hl)
	ld hl,(l3017)
	ld h,#00
	ld bc,l301d
	add hl,bc
	ld (hl),a
	ld a,(l301b)
	cp #54
	jr nz,l3147
	ret
.l3147
	ld a,(l3017)
	ld c,a
	ld a,(l301a)
	and #07
	ex de,hl
	call l34a7
	ld a,(l3019)
	and #80
	ret z
	ld e,(ix+#09)
	ld d,(ix+#0a)
	ld (ix+#09),l
	ld (ix+#0a),h
	ld (ix+#0c),e
	ld (ix+#0d),d
	ld a,(l301a)
	and #c0
	srl a
	srl a
	srl a
	srl a
	srl a
	srl a
	or a
	jr nz,l3184
	ld a,#01
	jr l318b
.l3184
	cp #03
	jr nz,l318a
	ld a,#08
.l318a
	add a
.l318b
	neg
	ld c,a
	ld a,d
	cp h
	jr nz,l3194
	ld a,e
	cp l
.l3194
	jr c,l319a
	ld a,c
	neg
	ld c,a
.l319a
	ld (ix+#0b),c
	ld a,#01
	ld (ix+#08),a
	ret
.l31a3
	db #00,#01,#02,#03,#05,#07,#0f,#3f
.l31ab
	ld ix,l3881
	ld b,#03
.l31b1
	push bc
	call l31be
	ld de,#0020
	add ix,de
	pop bc
	djnz l31b1
	ret
.l31be
	ld a,(ix+#1b)
	ld l,a
	ld h,#00
	ld de,l2fff
	add hl,de
	ld a,(hl)
	or a
	ret nz
	ld a,(ix+#01)
	or a
	jr nz,l31dc
	ld a,(ix+#1b)
	or #08
	ld d,a
	xor a
	call l38e1
	ret
.l31dc
	cp #ff
	jr z,l31e4
	dec a
	ld (ix+#01),a
.l31e4
	call l3327
	call l3235
	ld a,(ix+#1d)
	add a
	add a
	add a
	or (ix+#1c)
	cpl
	and #09
	ld c,a
	ld b,#f6
	ld a,(ix+#1b)
	or a
	jr z,l3207
.l31ff
	sla c
	scf
	sla b
	dec a
	jr nz,l31ff
.l3207
	ld a,(l300e)
	and b
	or c
	ld (l300e),a
	ld d,#07
	call l38e1
	ld hl,(l300b)
	call l347d
	ld a,(ix+#1b)
	add a
	ld d,a
	ld a,l
	call l38e1
	inc d
	ld a,h
	call l38e1
	ld a,(ix+#1b)
	or #08
	ld d,a
	ld a,(l300d)
	call l38e1
	ret
.l3235
	ld a,(ix+#03)
	or a
	jr z,l3291
	ld a,(ix+#18)
	or a
	jr nz,l3289
	ld l,(ix+#16)
	ld h,(ix+#17)
	ld a,(hl)
	or a
	jr nz,l3257
	ld a,(ix+#19)
	ld (ix+#00),a
	xor a
	ld (ix+#03),a
	jr l3293
.l3257
	inc hl
	ld c,a
	and #0f
	cp #0f
	jr nz,l3272
	ld a,(ix+#03)
	dec a
	add a
	add a
	add a
	add a
	ld e,a
	ld d,#00
	ld hl,(l3011)
	add hl,de
	ld a,(hl)
	ld c,a
	and #0f
.l3272
	ld (ix+#18),a
	ld a,c
	and #f0
	srl a
	srl a
	srl a
	srl a
	ld (ix+#19),a
	ld (ix+#16),l
	ld (ix+#17),h
.l3289
	dec (ix+#18)
	ld a,(ix+#19)
	jr l3293
.l3291
	ld a,#0f
.l3293
	ld (l300d),a
	ld e,a
	ld a,#0f
	sub (ix+#00)
	neg
	add e
	cp #10
	jr c,l32a4
	xor a
.l32a4
	ld e,a
	ld a,(l2ff8)
	ld d,a
	ld a,#0f
	sub d
	neg
	add e
	cp #10
	jr c,l32b4
	xor a
.l32b4
	ld (l300d),a
	ld a,(ix+#05)
	ex af,af'
	or a
	ret z
	ld a,(ix+#1a)
	or a
	jr z,l32c8
	dec a
	ld (ix+#1a),a
	ret
.l32c8
	ld a,(ix+#04)
	ld (ix+#1a),a
	ex af,af'
	neg
	ld e,a
	ld a,(l300d)
	add e
	ld (l300d),a
	ret
	db #f8,#e6,#d6,#c6,#b6,#a6,#96,#86
	db #76,#66,#56,#46,#36,#26,#06,#00
	db #f4,#e4,#d4,#c4,#b4,#a4,#94,#84
	db #74,#64,#54,#44,#34,#24,#04,#00
	db #f4,#e2,#d2,#c2,#b2,#a2,#92,#82
	db #72,#62,#52,#42,#32,#22,#02,#00
	db #f8,#e8,#d8,#c8,#b8,#a8,#98,#88
	db #78,#68,#58,#48,#38,#28,#08,#00
	db #f1,#e1,#d1,#c1,#a1,#91,#81,#61
	db #51,#41
	db #31
	db #21
	db #00
.l3327
	ld a,(ix+#08)
	or a
	jr z,l3354
	ld l,(ix+#0c)
	ld h,(ix+#0d)
	ld e,(ix+#09)
	ld d,(ix+#0a)
	ld a,h
	cp d
	jr nz,l3341
	ld a,l
	cp e
	jr z,l3354
.l3341
	ld h,#00
	ld a,(ix+#0b)
	cp #11
	jr c,l334c
	ld h,#ff
.l334c
	ld l,a
	add hl,de
	ld (ix+#09),l
	ld (ix+#0a),h
.l3354
	ld l,(ix+#09)
	ld h,(ix+#0a)
	ld (l300b),hl
	ld a,(ix+#0e)
	or a
	jr z,l33ac
	ld e,a
	ld a,(ix+#11)
	or a
	jr z,l3373
	dec a
	ld (ix+#11),a
	ld a,(ix+#1e)
	jr l3399
.l3373
	ld a,(ix+#0f)
	ld (ix+#11),a
	ld a,e
	add a
	ld l,a
	ld h,#00
	ld de,l3403
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld l,(ix+#10)
	ld a,l
	ld h,#00
	add hl,de
	inc a
	ld (ix+#10),a
	ld a,(hl)
	cp #ff
	jr nz,l3399
	xor a
	ld (ix+#10),a
.l3399
	ld l,a
	ld h,#00
	ld (ix+#1e),a
	add hl,hl
	add hl,hl
	add hl,hl
	add hl,hl
	add hl,hl
	ld de,(l300b)
	add hl,de
	ld (l300b),hl
.l33ac
	ld a,(ix+#13)
	or a
	ret z
	ex af,af'
	ld a,(ix+#14)
	or a
	jr z,l33be
	dec a
	ld (ix+#14),a
	jr l33f0
.l33be
	ld a,(ix+#06)
	ld (ix+#14),a
	ex af,af'
	ld l,(ix+#15)
	cp #ff
	jr z,l33dc
	add l
	ld (ix+#15),a
	ld l,(ix+#07)
	cp l
	jr nz,l33f0
	ld a,#ff
	ld (ix+#13),a
	ret
.l33dc
	add l
	ld (ix+#15),a
	ex af,af'
	ld a,(ix+#07)
	neg
	ld l,a
	ex af,af'
	cp l
	jr nz,l33f0
	ld a,#01
	ld (ix+#13),a
.l33f0
	ld e,(ix+#15)
	ld d,#00
	bit 7,e
	jr z,l33fb
	ld d,#ff
.l33fb
	ld hl,(l300b)
	add hl,de
	ld (l300b),hl
	ret
.l3403
	dw #0000,l3423,l3426,l3429
	dw l342d,l3430,l3434,l3438
	dw l343d,l3440,l3444,l3448
	dw l344d,l3451,l3456,l345b
.l3429 equ $ + 6
.l3426 equ $ + 3
.l3423
	db #00,#03,#ff,#00,#04,#ff,#00,#03
.l3430 equ $ + 5
.l342d equ $ + 2
	db #04,#ff,#00,#07,#ff,#00,#03,#07
.l3438 equ $ + 5
.l3434 equ $ + 1
	db #ff,#00,#04,#07,#ff,#00,#03,#04
.l3440 equ $ + 5
.l343d equ $ + 2
	db #07,#ff,#00,#0c,#ff,#00,#03,#0c
.l3448 equ $ + 5
.l3444 equ $ + 1
	db #ff,#00,#04,#0c,#ff,#00,#03,#04
.l3451 equ $ + 6
.l344d equ $ + 2
	db #0c,#ff,#00,#07,#0c,#ff,#00,#03
.l3456 equ $ + 3
	db #07,#0c,#ff,#00,#04,#07,#0c,#ff
.l345b
	db #00,#03,#04,#07,#0c,#ff,#01,#fd
	db #ff
	xor a
	ld d,#08
	call l38e1
	inc d
	call l38e1
	inc d
	call l38e1
	ld d,#07
	ld a,#c0
	call l38e1
	ld (l300e),a
	ret
.l347d
	ld de,#0180
	add hl,de
	ld de,#0180
	ld b,#00
.l3486
	ld a,h
	cp d
	jr nz,l348c
	ld a,l
	cp e
.l348c
	jr c,l3494
	or a
	sbc hl,de
	inc b
	jr l3486
.l3494
	add hl,hl
	ld de,l3581
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	ex de,hl
	ld a,b
	or a
	ret z
.l34a0
	srl h
	rr l
	djnz l34a0
	ret
.l34a7
	ex af,af'
	ld a,c
	ld (l3017),a
	add a
	add a
	add a
	add a
	add a
	ld e,a
	ld d,#00
	ld ix,l3881
	add ix,de
	ld e,(ix+#09)
	ld d,(ix+#0a)
	push de
	ld (ix+#09),l
	ld (ix+#0a),h
	ex af,af'
	add a
	add a
	add a
	ld e,a
	ld d,#00
	ld hl,(l300f)
	add hl,de
	ld a,(hl)
	inc hl
	ld c,a
	and #0f
	ld (ix+#00),a
	ld a,c
	and #f0
	srl a
	srl a
	srl a
	srl a
	ld c,a
	and #01
	ld (ix+#1c),a
	ld a,c
	srl a
	ld (ix+#1d),a
	ld a,(hl)
	inc hl
	exx
	ld (ix+#03),a
	dec a
	add a
	add a
	add a
	add a
	ld hl,(l3011)
	ld e,a
	ld d,#00
	add hl,de
	ld (ix+#16),l
	ld (ix+#17),h
	xor a
	ld (ix+#18),a
	exx
	ld a,(hl)
	inc hl
	ld c,a
	and #0f
	ld (ix+#04),a
	ld a,c
	srl a
	srl a
	srl a
	srl a
	ld (ix+#05),a
	xor a
	ld (ix+#1a),a
	ld a,(hl)
	ld b,a
	inc hl
	ld c,a
	and #0f
	ld (ix+#06),a
	ld a,c
	srl a
	srl a
	srl a
	srl a
	ld (ix+#07),a
	ld c,a
	xor a
	ld (ix+#14),a
	ld (ix+#15),a
	ld a,b
	or a
	jr z,l3549
	ld a,#01
.l3549
	ld (ix+#13),a
	ld a,(hl)
	inc hl
	ld c,a
	and #0f
	ld (ix+#0e),a
	ld a,c
	srl a
	srl a
	srl a
	srl a
	ld (ix+#0f),a
	xor a
	ld (ix+#10),a
	ld (ix+#11),a
	ld a,(hl)
	inc hl
	ld (ix+#01),a
	ld a,(l3017)
	ld (ix+#1b),a
	or a
	jr z,l357b
	ld d,#06
	ld a,(hl)
	call l38e1
.l357b
	xor a
	ld (ix+#08),a
	pop hl
	ret
.l3581
	dw #0fff,#0ff8,#0ff0,#0fe9
	dw #0fe2,#0fda,#0fd3,#0fcc
	dw #0fc4,#0fbd,#0fb6,#0fae
	dw #0fa7,#0fa0,#0f99,#0f92
	dw #0f8a,#0f83,#0f7c,#0f75
	dw #0f6e,#0f67,#0f60,#0f58
	dw #0f51,#0f4a,#0f43,#0f3c
	dw #0f35,#0f2e,#0f27,#0f20
	dw #0f19,#0f12,#0f0b,#0f04
	dw #0efd,#0ef6,#0ef0,#0ee9
	dw #0ee2,#0edb,#0ed4,#0ecd
	dw #0ec6,#0ec0,#0eb9,#0eb2
	dw #0eab,#0ea4,#0e9e,#0e97
	dw #0e90,#0e89,#0e83,#0e7c
	dw #0e75,#0e6f,#0e68,#0e61
	dw #0e5b,#0e54,#0e4d,#0e47
	dw #0e40,#0e3a,#0e33,#0e2d
	dw #0e26,#0e1f,#0e19,#0e12
	dw #0e0c,#0e05,#0dff,#0df8
	dw #0df2,#0dec,#0de5,#0ddf
	dw #0dd8,#0dd2,#0dcc,#0dc5
	dw #0dbf,#0db9,#0db2,#0dac
	dw #0da6,#0d9f,#0d99,#0d93
	dw #0d8c,#0d86,#0d80,#0d7a
	dw #0d73,#0d6d,#0d67,#0d61
	dw #0d5b,#0d55,#0d4e,#0d48
	dw #0d42,#0d3c,#0d36,#0d30
	dw #0d2a,#0d24,#0d1e,#0d17
	dw #0d11,#0d0b,#0d05,#0cff
	dw #0cf9,#0cf3,#0ced,#0ce7
	dw #0ce1,#0cdc,#0cd6,#0cd0
	dw #0cca,#0cc4,#0cbe,#0cb8
	dw #0cb2,#0cac,#0ca6,#0ca1
	dw #0c9b,#0c95,#0c8f,#0c89
	dw #0c84,#0c7e,#0c78,#0c72
	dw #0c6d,#0c67,#0c61,#0c5b
	dw #0c56,#0c50,#0c4a,#0c45
	dw #0c3f,#0c39,#0c34,#0c2e
	dw #0c28,#0c23,#0c1d,#0c18
	dw #0c12,#0c0c,#0c07,#0c01
	dw #0bfc,#0bf6,#0bf1,#0beb
	dw #0be6,#0be0,#0bdb,#0bd5
	dw #0bd0,#0bca,#0bc5,#0bbf
	dw #0bba,#0bb5,#0baf,#0baa
	dw #0ba4,#0b9f,#0b9a,#0b94
	dw #0b8f,#0b8a,#0b84,#0b7f
	dw #0b7a,#0b74,#0b6f,#0b6a
	dw #0b65,#0b5f,#0b5a,#0b55
	dw #0b50,#0b4a,#0b45,#0b40
	dw #0b3b,#0b36,#0b30,#0b2b
	dw #0b26,#0b21,#0b1c,#0b17
	dw #0b12,#0b0c,#0b07,#0b02
	dw #0afd,#0af8,#0af3,#0aee
	dw #0ae9,#0ae4,#0adf,#0ada
	dw #0ad5,#0ad0,#0acb,#0ac6
	dw #0ac1,#0abc,#0ab7,#0ab2
	dw #0aad,#0aa8,#0aa3,#0a9e
	dw #0a99,#0a95,#0a90,#0a8b
	dw #0a86,#0a81,#0a7c,#0a77
	dw #0a72,#0a6e,#0a69,#0a64
	dw #0a5f,#0a5a,#0a56,#0a51
	dw #0a4c,#0a47,#0a43,#0a3e
	dw #0a39,#0a34,#0a30,#0a2b
	dw #0a26,#0a22,#0a1d,#0a18
	dw #0a14,#0a0f,#0a0a,#0a06
	dw #0a01,#09fc,#09f8,#09f3
	dw #09ef,#09ea,#09e6,#09e1
	dw #09dc,#09d8,#09d3,#09cf
	dw #09ca,#09c6,#09c1,#09bd
	dw #09b8,#09b4,#09af,#09ab
	dw #09a6,#09a2,#099d,#0999
	dw #0995,#0990,#098c,#0987
	dw #0983,#097e,#097a,#0976
	dw #0971,#096d,#0969,#0964
	dw #0960,#095c,#0957,#0953
	dw #094f,#094a,#0946,#0942
	dw #093e,#0939,#0935,#0931
	dw #092d,#0928,#0924,#0920
	dw #091c,#0917,#0913,#090f
	dw #090b,#0907,#0903,#08fe
	dw #08fa,#08f6,#08f2,#08ee
	dw #08ea,#08e6,#08e1,#08dd
	dw #08d9,#08d5,#08d1,#08cd
	dw #08c9,#08c5,#08c1,#08bd
	dw #08b9,#08b5,#08b1,#08ad
	dw #08a9,#08a5,#08a1,#089d
	dw #0899,#0895,#0891,#088d
	dw #0889,#0885,#0881,#087d
	dw #0879,#0875,#0871,#086e
	dw #086a,#0866,#0862,#085e
	dw #085a,#0856,#0852,#084f
	dw #084b,#0847,#0843,#083f
	dw #083b,#0838,#0834,#0830
	dw #082c,#0829,#0825,#0821
	dw #081d,#081a,#0816,#0812
	dw #080e,#080b,#0807,#0803
.l3881
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#01,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#02,#00,#00,#00,#00
.l38e1
	push bc
	push de
	push af
	ld e,a
	ld a,d
	cp #07
	jr nz,l38ef
	ld a,e
	and #bf
	jr l38f0
.l38ef
	ld a,e
.l38f0
	ld c,a
	ld a,d
	ld b,#f4
	out (c),a
	ld b,#f6
	in a,(c)
	or #c0
	out (c),a
	and #3f
	out (c),a
	ld b,#f4
	out (c),c
	ld b,#f6
	ld c,a
	or #80
	out (c),a
	out (c),c
	pop af
	pop de
	pop bc
	ret
	db #1d,#02,#00,#20,#00,#3c,#00,#00
	db #1d,#05,#00,#20,#00,#23,#00,#00
	db #1c,#01,#00,#00,#06,#50,#00,#00
	db #1c,#05,#00,#11,#05,#50,#00,#00
	db #1c,#01,#00,#11,#05,#50,#00,#00
	db #2f,#03,#00,#11,#15,#19,#1f,#00
	db #1f,#05,#00,#20,#00,#23,#00,#00
	db #3f,#05,#00,#20,#00,#3c,#03,#00
.l3953
	db #02,#0f
	dw l3ecb,l3f0b,l3f4b,l3ecb
	dw l3f0b,l3eb3,l3ecb,l3f0b
	dw l3ebb,l3ecb,l3f0b,l3eb3
	dw l3ecb,l3f0b,l3ec3,l3ecb
	dw l3d8d,l3eb3,l3ecb,l3dcd
	dw l3ebb,l3ecb,l3d8d,l3eb3
	dw l3ecb,l3dad,l3ec3,l3ecb
	dw l3ded,l3eb3,l3ecb,l3e39
	dw l3ebb,l3ecb,l3ded,l3eb3
	dw l3ecb,l3e13,l3ec3,l3ecb
	dw l3ded,l3e5f,l3ecb,l3e39
	dw l3e7d,l3ecb,l3ded,l3e5f
	dw l3ecb,l3e13,l3e8f,l3ecb
	dw l3ded,l3e5f,l3ecb,l3e39
	dw l3e7d,l3ecb,l3ded,l3e5f
	dw l3ecb,l3e13,l3e8f,l3d39
	dw l3d6d,l3d5d,l3c5b,l3cb9
	dw l3bfb,l3c8b,l3cb9,l3bfb
	dw l3bc3,l3cf9,l3c2b,l3bc3
	dw l3cf9,l3c2b,l3c5b,l3cb9
	dw l3bfb,l3c8b,l3cb9,l3bfb
	dw l3bc3,l3cf9,l3c2b,l3bc3
	dw l3cf9,l3c2b,l3ecb,l3cb9
	dw l3f0b,l3a63,l3b63,l3a2f
	dw l3b23,l3b93,l3a49,l3a63
	dw l3b63,l3a2f,l3b23,l3b93
	dw l3a49,l3aa3,l3f4b,l3ae3
	db #16,#00
.l3a2f
	db #39,#2e,#3b,#1e,#3c,#1e,#3c,#2e
	db #3e,#1e,#40,#1e,#43,#2e,#46,#1e
	db #45,#1e,#43,#1e,#41,#1e,#3f,#1e
.l3a49 equ $ + 2
	db #3e,#1e,#3e,#2e,#41,#1e,#40,#1e
	db #3e,#1e,#3c,#1e,#3a,#1e,#39,#1e
	db #32,#2e,#34,#1e,#35,#1e,#35,#2e
.l3a63 equ $ + 4
	db #37,#1e,#39,#1e,#34,#09,#30,#09
	db #2d,#09,#28,#09,#32,#09,#34,#09
	db #30,#09,#2d,#09,#34,#09,#30,#09
	db #2d,#09,#28,#09,#32,#09,#34,#09
	db #30,#09,#2d,#09,#37,#09,#33,#09
	db #30,#09,#2b,#09,#35,#09,#37,#09
	db #33,#09,#30,#09,#37,#09,#33,#09
	db #30,#09,#2b,#09,#35,#09,#37,#09
	db #33,#09,#30,#09
.l3aa3
	db #37,#09,#33,#09,#30,#09,#2b,#09
	db #35,#09,#37,#09,#33,#09,#30,#09
	db #37,#09,#33,#09,#30,#09,#2b,#09
	db #35,#09,#37,#09,#33,#09,#30,#09
	db #37,#09,#33,#09,#30,#09,#2b,#09
	db #35,#09,#37,#09,#33,#09,#30,#09
	db #37,#09,#33,#09,#30,#09,#2b,#09
	db #35,#09,#37,#09,#33,#09,#30,#09
.l3ae3
	db #54,#00,#37,#09,#33,#09,#30,#09
	db #2b,#09,#35,#09,#37,#09,#33,#09
	db #30,#09,#37,#09,#33,#09,#30,#09
	db #2b,#09,#35,#09,#37,#09,#33,#09
	db #30,#09,#37,#09,#33,#09,#30,#09
	db #2b,#09,#35,#09,#37,#09,#33,#09
	db #30,#09,#37,#09,#33,#09,#30,#09
	db #2b,#09,#35,#09,#37,#09,#33,#11
.l3b23
	db #32,#09,#2e,#09,#2b,#09,#26,#09
	db #30,#09,#32,#09,#2e,#09,#2b,#09
	db #32,#09,#2e,#09,#2b,#09,#26,#09
	db #30,#09,#32,#09,#2e,#09,#2b,#09
	db #39,#09,#35,#09,#32,#09,#2d,#09
	db #37,#09,#39,#09,#35,#09,#32,#09
	db #39,#09,#35,#09,#32,#09,#2d,#09
	db #37,#09,#39,#09,#35,#09,#32,#09
.l3b63
	db #21,#1e,#2d,#0e,#21,#0e,#21,#1f
	db #2d,#0e,#21,#0e,#21,#1e,#2d,#0e
	db #21,#0e,#21,#1f,#2d,#0e,#21,#0e
	db #24,#1e,#30,#0e,#24,#0e,#24,#1f
	db #30,#0e,#24,#0e,#24,#1e,#30,#0f
	db #24,#0e,#24,#1f,#30,#0f,#24,#0f
.l3b93
	db #1f,#1e,#2b,#0e,#1f,#0e,#1f,#1f
	db #2b,#0e,#1f,#0e,#1f,#1e,#2b,#0e
	db #1f,#0e,#1f,#1f,#2b,#0e,#1f,#0e
	db #1a,#1e,#26,#0e,#1a,#0e,#1a,#1f
	db #26,#0e,#1a,#0e,#1a,#1e,#26,#0f
	db #1a,#0e,#1a,#1f,#26,#0f,#1a,#0f
.l3bc3
	db #46,#1e,#45,#09,#43,#09,#41,#1e
	db #3f,#09,#3e,#09,#45,#1e,#43,#09
	db #3e,#09,#3a,#1e,#3e,#09,#43,#09
	db #35,#09,#38,#09,#3c,#09,#38,#09
	db #3c,#09,#41,#09,#3c,#09,#41,#09
	db #44,#09,#41,#09,#44,#09,#48,#09
	db #44,#09,#48,#09,#4d,#09,#48,#09
.l3bfb
	db #24,#1b,#30,#0b,#24,#1b,#30,#0b
	db #30,#0b,#30,#0b,#24,#1b,#30,#0b
	db #24,#1b,#30,#0b,#30,#0b,#30,#0b
	db #24,#1b,#30,#0b,#24,#1b,#30,#0b
	db #30,#0b,#30,#0b,#24,#1b,#30,#0b
	db #24,#1b,#30,#0b,#30,#0b,#30,#0b
.l3c2b
	db #2b,#1b,#37,#0b,#2b,#1b,#37,#0b
	db #37,#0b,#37,#0b,#2b,#1b,#37,#0b
	db #2b,#1b,#37,#0b,#37,#0b,#37,#0b
	db #29,#1b,#35,#0b,#29,#1b,#35,#0b
	db #35,#0b,#35,#0b,#29,#1b,#35,#0b
	db #29,#1b,#35,#0b,#35,#0b,#35,#0b
.l3c5b
	db #37,#1e,#30,#09,#37,#1e,#30,#09
	db #37,#09,#30,#09,#38,#1e,#30,#09
	db #38,#1e,#30,#09,#38,#09,#30,#09
	db #35,#1e,#30,#09,#35,#1e,#30,#09
	db #35,#09,#30,#09,#37,#1e,#30,#09
	db #37,#1e,#30,#09,#37,#09,#30,#09
.l3c8b
	db #37,#1e,#30,#09,#37,#1e,#30,#09
	db #37,#09,#30,#09,#38,#1e,#30,#09
	db #38,#1e,#30,#09,#38,#09,#30,#09
	db #3b,#1e,#30,#09,#3b,#1e,#30,#09
	db #3b,#09,#30,#09,#37,#09,#3c,#09
.l3cb9 equ $ + 6
	db #43,#1e,#41,#1e,#3f,#1e,#18,#0e
	db #18,#0e,#24,#0e,#18,#0e,#22,#0f
	db #24,#0e,#1b,#0e,#1d,#0e,#18,#0e
	db #18,#0e,#24,#0e,#18,#0e,#22,#0f
	db #24,#0e,#27,#0e,#24,#0e,#18,#0e
	db #18,#0e,#24,#0e,#18,#0e,#22,#0f
	db #24,#0e,#1b,#0e,#1d,#0e,#18,#0f
	db #18,#0e,#24,#0f,#18,#0e,#22,#0f
.l3cf9 equ $ + 6
	db #24,#0f,#27,#0f,#24,#0f,#1f,#0e
	db #1f,#0e,#2b,#0e,#1f,#0e,#29,#0f
	db #2b,#0e,#22,#0e,#24,#0e,#1f,#0e
	db #1f,#0e,#2b,#0e,#1f,#0e,#29,#0f
	db #2b,#0e,#2e,#0e,#2b,#0e,#1d,#0e
	db #1d,#0e,#29,#0e,#1d,#0e,#27,#0f
	db #29,#0e,#20,#0e,#22,#0e,#1d,#0f
	db #1d,#0e,#29,#0f,#1d,#0e,#27,#0f
.l3d39 equ $ + 6
	db #29,#0f,#2c,#0f,#29,#0f,#2e,#30
	db #32,#30,#2b,#09,#2e,#09,#32,#09
	db #2e,#09,#32,#09,#37,#09,#32,#09
	db #37,#09,#3a,#09,#37,#09,#3a,#09
	db #3e,#09,#3a,#09,#3e,#09,#43,#09
.l3d5d equ $ + 2
	db #3e,#09,#32,#29,#32,#29,#3a,#29
	db #3a,#29,#3e,#29,#3e,#29,#46,#29
.l3d6d equ $ + 2
	db #46,#29,#1f,#19,#1f,#19,#1f,#19
	db #1f,#19,#1f,#19,#1f,#19,#1f,#19
	db #1f,#19,#1f,#19,#1f,#19,#1f,#19
	db #1f,#19,#1f,#19,#1f,#19,#1f,#19
.l3d8d equ $ + 2
	db #1f,#19,#19,#19,#19,#19,#19,#19
	db #19,#19,#19,#19,#19,#19,#19,#19
	db #19,#19,#19,#19,#19,#19,#19,#19
	db #19,#19,#19,#19,#19,#19,#19,#19
.l3dad equ $ + 2
	db #19,#19,#1b,#19,#1b,#19,#1b,#19
	db #1b,#19,#1b,#19,#1b,#19,#1b,#19
	db #1b,#19,#1b,#19,#1b,#19,#1b,#19
	db #1b,#19,#1b,#19,#1b,#19,#1b,#19
.l3dcd equ $ + 2
	db #1b,#19,#18,#19,#18,#19,#18,#19
	db #18,#19,#18,#19,#18,#19,#18,#19
	db #18,#19,#18,#19,#18,#19,#18,#19
	db #18,#19,#18,#19,#18,#19,#18,#19
.l3ded equ $ + 2
	db #18,#19,#19,#19,#19,#19,#19,#1f
	db #19,#19,#19,#19,#19,#19,#19,#1f
	db #19,#19,#19,#19,#19,#19,#19,#1f
	db #19,#19,#19,#19,#19,#0f,#19,#09
	db #19,#0f,#19,#0f,#19,#0f,#19,#0f
.l3e13
	db #1b,#19,#1b,#19,#1b,#1f,#1b,#19
	db #1b,#19,#1b,#19,#1b,#1f,#1b,#19
	db #1b,#19,#1b,#19,#1b,#1f,#1b,#19
	db #1b,#19,#1b,#0f,#1b,#09,#1b,#0f
.l3e39 equ $ + 6
	db #1b,#0f,#1b,#0f,#1b,#0f,#18,#19
	db #18,#19,#18,#1f,#18,#19,#18,#19
	db #18,#19,#18,#1f,#18,#19,#18,#19
	db #18,#19,#18,#1f,#18,#19,#18,#19
	db #18,#0f,#18,#09,#18,#0f,#18,#0f
.l3e5f equ $ + 4
	db #18,#0f,#18,#0f,#31,#32,#38,#18
	db #37,#18,#3a,#18,#33,#32,#3a,#08
	db #38,#08,#37,#08,#3a,#08,#38,#08
	db #37,#08,#3a,#08,#38,#08,#37,#08
.l3e7d equ $ + 2
	db #3a,#08,#30,#34,#30,#08,#33,#08
	db #35,#08,#37,#18,#3c,#18,#54,#08
.l3e8f equ $ + 4
	db #3c,#34,#54,#32,#33,#32,#54,#32
	db #38,#08,#37,#08,#33,#08,#37,#08
	db #33,#08,#30,#08,#33,#08,#30,#08
	db #2c,#08,#30,#08,#2c,#08,#2b,#08
	db #2c,#08,#2b,#08,#24,#08,#2b,#08
.l3eb3
	db #31,#32,#54,#32,#54,#32,#54,#32
.l3ebb
	db #30,#34,#54,#32,#54,#32,#54,#32
.l3ec3
	db #33,#32,#54,#32,#54,#32,#54,#32
.l3ecb
	db #38,#09,#37,#09,#33,#09,#30,#09
	db #2e,#09,#37,#09,#33,#09,#30,#09
	db #38,#09,#37,#09,#33,#09,#30,#09
	db #2e,#09,#37,#09,#33,#09,#30,#09
	db #38,#09,#37,#09,#33,#09,#30,#09
	db #2e,#09,#37,#09,#33,#09,#30,#09
	db #38,#09,#37,#09,#33,#09,#30,#09
	db #2e,#09,#37,#09,#33,#09,#30,#09
.l3f0b
	db #54,#00,#38,#09,#37,#09,#33,#09
	db #30,#09,#2e,#09,#37,#09,#33,#09
	db #30,#09,#38,#09,#37,#09,#33,#09
	db #30,#09,#2e,#09,#37,#09,#33,#09
	db #30,#09,#38,#09,#37,#09,#33,#09
	db #30,#09,#2e,#09,#37,#09,#33,#09
	db #30,#09,#38,#09,#37,#09,#33,#09
	db #30,#09,#2e,#09,#37,#09,#33,#11
.l3f4b
	db #54,#38,#01,#00,#00

;org #28d7
;ld hl,#3953
;call #2fad	; init

.game_name
	db "Super Space Invaders",0
.game_year
	db "1991",0
.game_publisher
	db "Domark",0
.music_author
	db "",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
